﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MyWeb.Data;
using System.Data;

namespace MyWeb.Business
{
    public class GroupProductService
    {
        public static GroupProductController db = new GroupProductController();

        #region[GroupProduct_Insert]
        public void GroupProduct_Insert(GroupProductInfo data)
        {
            db.GroupProduct_Insert(data);
        }
        #endregion

        #region[GroupProduct_Update]
        public void GroupProduct_Update(GroupProductInfo data)
        {
            db.GroupProduct_Update(data);
        }
        #endregion

        #region[GroupProduct_Delete]
        public void GroupProduct_Delete(string Id)
        {
            db.GroupProduct_Delete(Id);
        }
        #endregion

        #region[GroupProduct_GetByAll]
        public DataTable GroupProduct_GetByAll()
        {
            return db.GroupProduct_GetByAll();
        }
        #endregion

        #region[GroupProduct_GetById]
        public DataTable GroupProduct_GetById(string Id)
        {
            return db.GroupProduct_GetById(Id);
        }
        #endregion

        #region[GroupProduct_GetByTop]
        public DataTable GroupProduct_GetByTop(string Top, string Where, string Order)
        {
            return db.GroupProduct_GetByTop(Top, Where, Order);
        }
        #endregion
    }
}
